
<div class="container">
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <form>
                <div class="form-group">
                    <label for="site_id">权限名称</label>
                    <input type="text" class="form-control" id="site_id" placeholder="权限名称" ng-model="permission.name">
                </div>
                <div class="form-group">
                    <label for="descr">权限描述</label>
                    <textarea class="form-control" id="descr" placeholder="权限描述" rows="3" ng-model="permission.descr"></textarea>
                </div>
                <div class="form-group">
                    <label>权限状态</label><br>
                    <label class="radio-inline">
                        <input type="radio" checked="checked" name="inlineRadioOptions" id="inlineRadio1" value="1" ng-model="permission.status"> 启用
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="0" ng-model="permission.status"> 禁用
                    </label>
                </div>

                <button type="submit" class="btn btn-primary" href="#permissionlist" aria-controls="permissionlist" role="tab" data-toggle="tab" ng-click="save()" mt-tab>保存</button>
                &nbsp;
                <a class="btn btn-default" href="#permissionlist" aria-controls="permissionlist" role="tab" data-toggle="tab">取消</a>
            </form>
        </div>
    </div>
</div>
